DictionaryBase Properties

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Syntax

C#
[SerializableAttribute]
public abstract class DictionaryBase<TKey, TValue>
Visual Basic (Declaration)
<SerializableAttribute> _
Public MustInherit Class DictionaryBase(Of TKey, TValue)
Visual C++
[SerializableAttribute]
generic<typename TKey, typename TValue>
public ref class DictionaryBase abstract

Type Parameters

TKey
TValue

The type exposes the following properties.

Public Properties

  NameDescription
Public propertyCount
Must be overridden to provide the number of items in the collection.
(Inherited from CollectionBase<(Of <T>)>.)
Public propertyItem
The indexer of the dictionary. This is used to store keys and values and retrieve values from the dictionary. The setter accessor must be overridden in the derived class.
Public propertyKeys
Returns a collection of the keys in this dictionary.
Public propertyValues
Returns a collection of the values in this dictionary. The ordering of values in this collection is the same as that in the Keys collection.

Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate propertyICollection<(Of <T>)>..::IsReadOnly (Inherited from CollectionBase<(Of <T>)>.)
Explicit interface implemetationPrivate propertyICollection..::IsSynchronized
Indicates whether the collection is synchronized.
(Inherited from CollectionBase<(Of <T>)>.)
Explicit interface implemetationPrivate propertyICollection..::SyncRoot
Indicates the synchronization object for this collection.
(Inherited from CollectionBase<(Of <T>)>.)
Explicit interface implemetationPrivate propertyIDictionary..::IsFixedSize
Returns whether this dictionary is fixed size. This implemented always returns false.
Explicit interface implemetationPrivate propertyIDictionary..::IsReadOnly
Returns if this dictionary is read-only. This implementation always returns false.
Explicit interface implemetationPrivate propertyIDictionary..::Item
Gets or sets the value associated with a given key. When getting a value, if this key is not found in the collection, then null is returned. When setting a value, the value replaces any existing value in the dictionary. If either the key or value are not of the correct type for this dictionary, an ArgumentException is thrown.
Explicit interface implemetationPrivate propertyIDictionary..::Keys
Returns a collection of all the keys in the dictionary. The values in this collection will be enumerated in the same order as the (overridden) GetEnumerator method.
Explicit interface implemetationPrivate propertyIDictionary..::Values
Returns a collection of all the values in the dictionary. The values in this collection will be enumerated in the same order as the (overridden) GetEnumerator method.

See Also